LassoScript Utility
Basics Browse Detail

[Email_Parse->Content_Type]

Tag Link [Email_Parse->Content_Type] Category Email
Type Member Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0

Description

[Email_Parse->Content_Type] returns the Content-Type header of the email message. An optional parameter allows one field from the Content-Type header to be retrieved. The field can be 'type', 'subtype', 'charset', 'boundary', or any other value.

Syntax

[Var: 'myMSG' = (Email_Parse: $myPOP->(Retrieve))]
[$myMSG->Content_Type]
[$myMSG->Content_Type: 'type']
[$myMSG->Content_Type: 'subtype']

Parameters

Optional Parameters
Field The field from Content-Type to be fetched.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.